import TIM from 'tim-js-sdk';
import COSSDK from 'cos-js-sdk-v5';
import './assets/icon/iconfont.css';
import './assets/icon/tim.css';
// 初始化 SDK 实例
const tim = TIM.create({
  SDKAppID: 1400241610
  // SDKAppID: window.genTestUserSig('').SDKAppID
});

window.setLogLevel = tim.setLogLevel;

// 无日志级别
tim.setLogLevel(1);

// 注册 cos
tim.registerPlugin({ 'cos-js-sdk': COSSDK });
export default tim;
